﻿using System;

namespace Scrobbler
{
    internal static class CTime
    {
        internal static string GetUnixTime()
        {
            TimeSpan ts = (DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0));
            int UnixTime = Convert.ToInt32(ts.TotalSeconds);

            return UnixTime.ToString();
        }

    }
}
